// src/types/api/role.ts

/**
 * 角色实体 (对应后端 Role 实体)
 */
export interface Role {
  id: number;
  roleName: string;
  roleCode: string;
  description?: string;
  // 后端实体可能还包含 createdAt, updatedAt 等
}

/**
 * 角色创建/更新请求 DTO (对应后端 RoleRequest)
 */
export interface RoleRequest {
  roleName: string;
  roleCode: string;
  description?: string;
}
